package cn.skyclass.events
{
	import flash.events.Event;

	/**
	 * 用于模块处理的事件
	 */
	public class ModuleEvent extends Event
	{
		public static const EXIT:String = "exit";
		public static const DESKTOP:String = "desktop";
		public static const LOADED:String = "loaded";
		
		
		public var data:Object;
		
		public function ModuleEvent(type:String, data:Object=null){
			super(type);
			this.data = data;
		}
		
		override public function clone():Event{
			return new ModuleEvent(this.type, this.data);
		}		
	}
}